const {
  data
} = require('./mock');
module.exports = {
  devServer: {
    before(app) {
      app.get('/api/list', (req, res) => {
        res.json({
          success: 1,
          data: data.list
        });
      })
    }
  }
}